package com.mengmablog.blog.entity;

import java.util.Date;

public class Articles {
    private Integer id;

    private String title;

    private Date created;

    private Date modified;

    private Integer authorId;

    private Integer hits;

    private String tags;

    private String category;

    private String status;

    private String type;

    private Boolean allowComment;

    private Integer commentCount;

    private String content;

    public Articles(Integer id, String title, Date created, Date modified, Integer authorId, Integer hits, String tags, String category, String status, String type, Boolean allowComment, Integer commentCount, String content) {
        this.id = id;
        this.title = title;
        this.created = created;
        this.modified = modified;
        this.authorId = authorId;
        this.hits = hits;
        this.tags = tags;
        this.category = category;
        this.status = status;
        this.type = type;
        this.allowComment = allowComment;
        this.commentCount = commentCount;
        this.content = content;
    }

    public Articles() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public Integer getAuthorId() {
        return authorId;
    }

    public void setAuthorId(Integer authorId) {
        this.authorId = authorId;
    }

    public Integer getHits() {
        return hits;
    }

    public void setHits(Integer hits) {
        this.hits = hits;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags == null ? null : tags.trim();
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category == null ? null : category.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Boolean getAllowComment() {
        return allowComment;
    }

    public void setAllowComment(Boolean allowComment) {
        this.allowComment = allowComment;
    }

    public Integer getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(Integer commentCount) {
        this.commentCount = commentCount;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}